Skip to content

Comments

Regard endianness independent of a specific CPU type or OS#155

Open
68420948 wants to merge 1 commit intotrendmicro:masterfrom
68420948:cpu-agnostic-endianness
Open

Regard endianness independent of a specific CPU type or OS#155
68420948 wants to merge 1 commit intotrendmicro:masterfrom
68420948:cpu-agnostic-endianness

Conversation

@68420948
Copy link

@68420948 68420948 commented Dec 3, 2025

Regard endianess based on BYTE_ORDER instead of __SPARC or _AIX.

This makes sure endianness is handled correctly, at least with using GCC, without the need to fake a CPU type like proposed in #131.

Picking endianness based on a specific OS seems not correct at all.

Regard endianess based on __BYTE_ORDER__ instead of __SPARC or _AIX.

This makes sure endianness is handled correctly, at least with using GCC,
without the need to fake a CPU type like proposed in
trendmicro#131.

Picking endianness based on a specific OS seems not correct at all.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant